package com.ruoyi.fsepc.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * FSE实时位置坐标对象 st_fse_location
 *
 * @author ruoyi
 * @date 2020-02-27
 */
public class StFseLocation extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * FSEID
     */
    @Excel(name = "FSEID")
    private String fseId;

    /**
     * FSE名称
     */
    @Excel(name = "FSE名称")
    private String fseName;

    /**
     * 最新X坐标 decimal(10,7)
     */
    @Excel(name = "最新X坐标")
    private Double postx;

    /**
     * 最新Y坐标 decimal(10,7)
     */
    @Excel(name = "最新Y坐标")
    private Double posty;

    /**
     * 接收时间
     */
    @Excel(name = "接收时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date receiveDate;

    /**
     * 网络状态
     */
    @Excel(name = "网络状态")
    private String networkState;

    /**
     * 位置服务状态 字典（例如经纬度获取成功或异常）
     */
    @Excel(name = "位置服务状态", readConverterExp = "例=如经纬度获取成功或异常")
    private String state;

    /**
     * 位置服务状态描述
     */
    /*@Excel(name = "位置服务状态描述")*/
    private String stateDescribe;

    /**
     * 地址详情
     */
    @Excel(name="地理位置",width = 50)
    private String address;

    private String mobile;

    private String bu;

    private String teamleaderId;

    private String enginnerId;

    private String teamleaderName;

    private String enginnerName;

    private String buName;

    private Integer countState1;//已接受数量
    private Integer countState2;//已签到数量
    private Integer countState3;//已签离数量
    private Integer countState4;//已完成数量

    private String online; //是否离线
private String workDay;


    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setFseId(String fseId) {
        this.fseId = fseId;
    }

    public String getFseId() {
        return fseId;
    }

    public void setFseName(String fseName) {
        this.fseName = fseName;
    }

    public String getFseName() {
        return fseName;
    }

    public void setPostx(Double postx) {
        this.postx = postx;
    }

    public Double getPostx() {
        return postx;
    }

    public void setPosty(Double posty) {
        this.posty = posty;
    }

    public Double getPosty() {
        return posty;
    }

    public void setReceiveDate(Date receiveDate) {
        this.receiveDate = receiveDate;
    }

    public Date getReceiveDate() {
        return receiveDate;
    }

    public void setNetworkState(String networkState) {
        this.networkState = networkState;
    }

    public String getNetworkState() {
        return networkState;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getState() {
        return state;
    }

    public void setStateDescribe(String stateDescribe) {
        this.stateDescribe = stateDescribe;
    }

    public String getStateDescribe() {
        return stateDescribe;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getTeamleaderId() {
        return teamleaderId;
    }

    public void setTeamleaderId(String teamleaderId) {
        this.teamleaderId = teamleaderId;
    }

    public String getBu() {
        return bu;
    }

    public void setBu(String bu) {
        this.bu = bu;
    }

    public String getEnginnerId() {
        return enginnerId;
    }

    public void setEnginnerId(String enginnerId) {
        this.enginnerId = enginnerId;
    }

    public Integer getCountState1() {
        return countState1;
    }

    public void setCountState1(Integer countState1) {
        this.countState1 = countState1;
    }

    public Integer getCountState2() {
        return countState2;
    }

    public void setCountState2(Integer countState2) {
        this.countState2 = countState2;
    }

    public Integer getCountState3() {
        return countState3;
    }

    public void setCountState3(Integer countState3) {
        this.countState3 = countState3;
    }

    public Integer getCountState4() {
        return countState4;
    }

    public void setCountState4(Integer countState4) {
        this.countState4 = countState4;
    }

    public String getTeamleaderName() {
        return teamleaderName;
    }

    public void setTeamleaderName(String teamleaderName) {
        this.teamleaderName = teamleaderName;
    }

    public String getEnginnerName() {
        return enginnerName;
    }

    public void setEnginnerName(String enginnerName) {
        this.enginnerName = enginnerName;
    }

    public String getBuName(){return buName;}

    public void  setBuName(String buName){this.buName=buName;}

    public String getOnline() {
        return online;
    }

    public void setOnline(String online) {
        this.online = online;
    }

    public String getWorkDay() {
        return workDay;
    }

    public void setWorkDay(String workDay) {
        this.workDay = workDay;
    }

    @Override
    public String toString() {
        return "StFseLocation{" +
                "id=" + id +
                ", fseId='" + fseId + '\'' +
                ", fseName='" + fseName + '\'' +
                ", postx=" + postx +
                ", posty=" + posty +
                ", receiveDate=" + receiveDate +
                ", networkState='" + networkState + '\'' +
                ", state='" + state + '\'' +
                ", stateDescribe='" + stateDescribe + '\'' +
                ", address='" + address + '\'' +
                ", mobile='" + mobile + '\'' +
                ", bu='" + bu + '\'' +
                ", teamleaderId='" + teamleaderId + '\'' +
                ", enginnerId='" + enginnerId + '\'' +
                ", teamleaderName='" + teamleaderName + '\'' +
                ", enginnerName='" + enginnerName + '\'' +
                ", buName='" + buName + '\'' +
                ", countState1=" + countState1 +
                ", countState2=" + countState2 +
                ", countState3=" + countState3 +
                ", countState4=" + countState4 +
                ", online='" + online + '\'' +
                ", workDay='" + workDay + '\'' +
                '}';
    }
}
